/*
 * @Date: 2022-05-13 13:37:44
 * @LastEditors: sailornpg
 * @LastEditTime: 2022-05-18 09:55:24
 * @FilePath: \react-lvyou\src\store\reducer.ts
 * @Description: something
 */
import { combineReducers } from "@reduxjs/toolkit";
import { reducer as languageReducer } from "./language";
import { reducer as recommendProductsReducer } from "./recommendProducts";
import { productDetailSlice } from "./productDetail";
import { SearchSlice } from "./productSearch";
import { UserSlice } from "./user";
import { ShoppingCartSlice } from "./shoppingCart";
import { PlaceOrderSlice } from "./placeOrder";
const reducer = combineReducers({
  language: languageReducer,
  recommendProducts: recommendProductsReducer,
  productDetail: productDetailSlice.reducer,
  Search: SearchSlice.reducer,
  User: UserSlice.reducer,
  ShoppingCart: ShoppingCartSlice.reducer,
  PlaceOrder: PlaceOrderSlice.reducer,
});
export default reducer;
